import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";

import store from "./store";
import { createPinia } from "pinia";

const app = createApp(App);

import DatePicker from "ant-design-vue";
import "ant-design-vue/dist/reset.css";
app.use(DatePicker);

import CountTo from "vue-count-to";
app.component("CountTo", CountTo);

// import ElementPlus from "element-plus";
// import "element-plus/dist/index.css";
// app.use(ElementPlus);

const pinia = createPinia();
app.use(pinia);

app.use(store);
app.use(router);

app.mount("#app");
